package com.z.qyWeixin.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author z
 * @since 2022-03-29
 */
@TableName("t_user_weixin_dept")
@ApiModel(value="WeixinDept对象", description="")
public class WeixinDept implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private BigDecimal id;

    @TableField("NAME")
    private String name;

    @TableField("PARENTID")
    private BigDecimal parentid;

    @TableField("ORDER")
    private BigDecimal order;

    public BigDecimal getId() {
        return id;
    }

    public void setId(BigDecimal id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public BigDecimal getParentid() {
        return parentid;
    }

    public void setParentid(BigDecimal parentid) {
        this.parentid = parentid;
    }
    public BigDecimal getOrder() {
        return order;
    }

    public void setOrder(BigDecimal order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "WeixinDept{" +
            "id=" + id +
            ", name=" + name +
            ", parentid=" + parentid +
            ", order=" + order +
        "}";
    }
}
